/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Formas;

import java.awt.Graphics;

/**
 *
 * @author Pedro
 */
public class RetanguloArrendondadoPreenchido extends RetanguloArrendondado {

    public RetanguloArrendondadoPreenchido(int sX, int sY, int width, int height, int arcWidth, int arcHeight)
    {
       super(sX,sY,width,height,arcWidth,arcHeight);
    }

    @Override
    public Forma drawForma(Graphics g)
    {
        g.setColor(super.getCor());
        g.fillRoundRect(super.getsX(), super.getsY(), super.getWidth(), super.getHeight(), super.getArcWidth(), super.getHeight());
        return this;
    }

}
